package com.cyn.controller.handler;

import java.io.FileInputStream;
import java.io.IOException;

public class Byte0316 {

    public static void main(String[] args) throws IOException {

        String path = "C:\\Users\\lenovo\\Desktop\\阜阳\\阜阳远程-向日葵.txt";
        FileInputStream inputStream = new FileInputStream(path);

        byte[] bytes = new byte[2048];
        int read = 0;
        while ((read = inputStream.read(bytes)) != -1){
            String s = new String(bytes,0,read);
            System.out.print(s);
        }
        System.out.println();

        inputStream.close();
    }
}
